package com.qin.springbootdemo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Leisure
 * create 2022 2022/6/18 10:54
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "swiper")  //表名
public class swiper {
    @Id
    String _id;

    String url;

}
